import {request} from './request'

export function goodsSort(url,params){
    return request({
        url,
        params
    })
}

export function addGoods(url,data){
    return request({
        url,
        data,
        method : 'post'
    })
}

export function setData(url,data){
    return request({
        url,
        data,
        method : 'put'
    })
}

export function deleteData(url){
    return request({
        url,
        method : 'delete'
    })
}